Skip to content

Support native multiple-selection selects - #530

Merged
linkdata merged 1 commit into
mainfrom
codex/issue-518-multiselect
Oct 2, 2026
Merged

linkdata merged 1 commit into
mainfrom
codex/issue-518-multiselect

Conversation

@linkdata

@linkdata linkdata commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Adds ui.MultiSelect and RequestWriter.MultiSelect, backed by named.MultiSelectHandler or named.NewBoolArray(true). Browser events send every selected option, and Go updates reconcile the complete selection, including clearing all options. Rejected, unchanged, and malformed input restore the authoritative selection. Existing single-selection behavior is preserved.

Reuses the existing container lifecycle and input/value messages with JSON arrays; no new dependencies or protocol commands. Tests cover browser events, initial rendering, option updates, rejected changes, empty selections, and dirty targets.

Closes #518.

Validation:

  • JAWS_REQUIRE_NODE=1 go test ./...
  • JAWS_REQUIRE_NODE=1 go test -race ./...
  • go generate ./..., go build ./..., go vet ./...
  • staticcheck ./..., golangci-lint run, gosec -quiet ./...
  • Formatting and diff checks pass.
  • 32-bit execution requires CI or another host; this host cannot run 32-bit software.

@linkdata
linkdata merged commit 06a71de into main Oct 2, 2026
7 checks passed
@linkdata
linkdata deleted the codex/issue-518-multiselect branch October 2, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ui: support native multiple-selection select elements

1 participant